﻿namespace Terminal.Gui.Input;

/// <summary>Event arguments for the <see cref="CollectionNavigatorBase.SearchStringChanged"/> event.</summary>
public class KeystrokeNavigatorEventArgs : EventArgs
{
    /// <summary>Initializes a new instance of <see cref="KeystrokeNavigatorEventArgs"/></summary>
    /// <param name="searchString">The current <see cref="SearchString"/>.</param>
    public KeystrokeNavigatorEventArgs (string searchString) { SearchString = searchString; }

    /// <summary>he current <see cref="SearchString"/>.</summary>
    public string SearchString { get; }
}
